/**
 * Created by pankaj on 25/10/14.
 */
define(['jquery', 'mustache'], function ($) {


    var allTemplates = { 'small_loader': $('<img src="/img/small_loader.gif">')};
    $('script[type="text/html"]').each(function(index, script){
        allTemplates[$(script).attr('id')] = $(script).html();
    });
    return allTemplates;
});